package com.car.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @TableField("admin_name")
    private String adminName;

    @TableField("admin_phone")
    private String adminPhone;

    @TableField("admin_pass")
    private String adminPass;

    @TableField("image")
    private String image;

    /**
     * 0启用1禁用2删除
     */
    @TableField("admin_state")
    private Integer adminState;


}
